package com.issac.OnsiteSearchEngine.searcher;

public class Weight {
    /**
     * 存储文档与词的相关性
     * @Param:wight 表示"文档"与"给定词"之间的 相关性
     *              值↑，相关性越强；反之
     */
    private int docId;
    private int weight;

    public int getDocId() {
        return docId;
    }

    public void setDocId(int docId) {
        this.docId = docId;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
